package chenjun.mydatabindingdemo.util;

import android.util.Log;

/**
 * Created by n6 on 2016/9/29.
 */
public class Logger {
    private final static String TAG = "mtag";
    private final static boolean FLAG = true;

    public static void i(String str){
        if (FLAG){
            Log.i(TAG,str);
        }
    }

    public static void v(String str){
        if (FLAG){
            Log.v(TAG,str);
        }
    }

    public static void e(String str){
        if (FLAG){
            Log.e(TAG,str);
        }
    }

    public static void w(String str){
        if (FLAG){
            Log.w(TAG,str);
        }
    }

    public static void d(String str){
        if (FLAG){
            Log.d(TAG,str);
        }
    }
}
